﻿using ControleRepresentanteSync.ControleRepresentanteServices;

namespace ControleRepresentanteSync.Application.Pedido
{
    internal class AttributeItemPresenter : PresenterBase<IAttributeItem>
    {
        public AttributeItemPresenter(IAttributeItem viewModel, AttributeContract attributeContract) 
            : base(viewModel)
        {
            ViewModel.Contract = attributeContract;
            ViewModel.Name = attributeContract.Name;
        }
    }
}